package com.tourlaid.mamagerment.service

import com.tourlaid.mamagerment.dto.StoreListDto
import com.tourlaid.mamagerment.entity.Store
import com.tourlaid.mamagerment.form.StoreForm

/**
 * Created by Administrator on 2017/8/16.
 */
interface StoreService {

    fun queryForList(searchContent: String?, storeType: Int?, cityName: String?,
                     area: String?, district: String?): List<StoreListDto>?

    fun getById(id: Long): Store

    fun queryHotStore(cityName: String): List<Store>

    fun minusWhenThoughtDel(id: Long?)

    fun plusWhenThoughtIns(id: Long, count: Int)

    fun insert(form: StoreForm): Long

    fun update(form: StoreForm)
}